<extend name="Public:base" />
<block name="main">
	<div class="content">
		<section class="location">
			<i class="iconfont">&#xe60f</i> 位置：<a href="{:U('Index/main')}">管理首页</a> &gt; <a href="{:U('index')}">标签管理</a> &gt; 新增标签
		</section>
		<ul class="nav-tabs clearfix">
			<li><a href="{:U('index')}">标签管理</a></li>
			<li class="active">新增标签</li>
		</ul>
		<form method="post" action="" id="form">
			<input type="hidden" name="class" id="class" value="{$Think.CONTROLLER_NAME}" />
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table">
			<tr>
				<th width="100">名称</th>
				<td><input type="text" name="title" id="title" class="form-control form-control-lg" required /> <span class="red"> *</span> </td>
			</tr>
			<tr>
				<th>封面</th>
				<td>
					<img id="img1" src="__IMG__/noPhoto.png" alt="" width="120" height="120" />
					<input type="file" name="btn_upload_thumb" id="btn_upload_thumb" />
					<input type="button" class="btn btn-gary cancel" onclick="thumbDel();" value="删除图片" />
					<input type="text" name="thumb" id="thumb" class="form-control" />
				</td>
			</tr>
			<tr>
				<th>说明</th>
				<td><textarea name="description" id="description" class="form-control form-control-lg"></textarea> </td>
			</tr>
			<tr>
				<th>排序</th>
				<td><input type="text" name="order_id" id="order_id" class="form-control form-control-xs" /></td>
			</tr>
			</table>
			<div class="well"><button type="submit" class="btn btn-theme" id="submit_add">新 增</button> <button class="btn btn-gary" onclick="javascript:history.back(-1);">返 回</button></div>
		</form>
	</div>
</block>
